Skip to content

Accept equals-form run max option - #12

Merged
ralyodio merged 1 commit into
moshcoder:mainfrom
aiirvizionz:clientkit/reject-duplicate-run-max
Jul 13, 2026
Merged

Accept equals-form run max option#12
ralyodio merged 1 commit into
moshcoder:mainfrom
aiirvizionz:clientkit/reject-duplicate-run-max

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • support the common --max=N form for moshcode run alongside --max N and -n N`n- keep existing positive-integer validation for the parsed value
  • add a CLI regression test proving --max=1 --dry-run bounds execution to one loop

Tests

  • npm.cmd test
  • node --check bin/moshcode.mjs
  • node --check test/run-options.test.mjs
  • git diff --check

@ralyodio
ralyodio merged commit 8cae49e into moshcoder:main Jul 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants